<link rel="stylesheet" type="text/css" href="${ctx}/uce/iconfont/iconfont.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/uce/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/uce/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/uce/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/uce/css/common2.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/uce/css/yousu.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/uce/css/changeui.css"/>
<script src="${ctx}/uce/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="${ctx}/uce/js/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="${ctx}/uce/js/hexin.js" type="text/javascript" charset="utf-8"></script>
<script src="${ctx}/uce/js/easyui-lang-zh_CN.js" type="text/javascript" charset="utf-8"></script>


<script type="text/javascript">
    var portal_global_systemCode = '${sessionScope.CURRENT_USER.systemCode}';
    var crossDomainFlag = false;
    var portal_global_currentUser = {};
    var portal_global_permissionCode = [];

    try{
        portal_global_currentUser = parent.vm.user.userInfo;
        portal_global_permissionCode = parent.vm.user.permissionCode;
    }catch(e){
        crossDomainFlag = true;
        if(window.name) {
            var crossDomainParams = JSON.parse(window.name);
            portal_global_currentUser = crossDomainParams.currentUser;
            portal_global_permissionCode = crossDomainParams.permissionCode;
        }
    }

    window.addEventListener('message', function(e) {
        var msg = e.data;
        switch(msg.fn) {
            case 'settingThemes':
                var cssStyleDom = document.getElementById('themes-setting');
                var theme = msg.params.theme;
                if(cssStyleDom == null) {
                    var css = document.createElement('style');
                    css.type = 'text/css';
                    css.id = "themes-setting";
                    if(theme == 'default') {
                        css.innerHTML = ".iconfont{color:#ff9372;}";
                    } else if(theme == 'blue') {
                        css.innerHTML = ".iconfont{color:#23b7e5;}";
                    } else {
                        css.innerHTML = ".iconfont{color:#464c5b;}";
                    }
                    frames[i].frameElement.contentDocument.head.appendChild(css);
                } else {
                    if(theme == 'default') {
                        cssStyleDom.innerHTML = ".iconfont{color:#ff9372;}";
                    } else if(theme == 'blue') {
                        cssStyleDom.innerHTML = ".iconfont{color:#23b7e5;}";
                    } else {
                        cssStyleDom.innerHTML = ".iconfont{color:#464c5b;}";
                    }
                }
                break;
            default:
                break;
        }
    })
</script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/common.js?v=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/uce.util.js?v=<%=System.currentTimeMillis() %>"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/plugins/pako/pako.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/plugins/uce.easyui.parser.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/plugins/uce.easyui.combobox.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/plugins/uce.easyui.combogrid.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common/plugins/datagrid-detailview.js"></script>
<div id="winErrorDetail" class="easyui-dialog" data-options="closed:true" style=" width:500px;height:200px;display: none"></div>
<style type="text/css">
    .datagrid-header-rownumber{
        margin: 0px
    }
</style>